package homework.chapter12;

public class TestPerson {
    public static void main(String[] args) {
        Person<String> couple1 = new Person<>("你自己","你对象");
        System.out.println("couple1 = " + couple1);

        Person<Demon> couple2 = new Person<>("许仙",new Demon("白娘子"));
        System.out.println("couple2 = " + couple2);
    }
}
